<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="<?php echo Yii::app()->params['static_file']; ?>/favicon.ico">
    <link href="<?php echo Yii::app()->params['static_file']; ?>/todc-bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="<?php echo Yii::app()->params['static_file']; ?>/todc-bootstrap/css/todc-bootstrap.css" rel="stylesheet">
    <link href="<?php echo Yii::app()->params['static_file']; ?>/css/index.css" rel="stylesheet">

    <script src="<?php echo Yii::app()->params['static_file']; ?>/js/jquery-1.11.0.min.js"></script>
    <title><?php echo $this->pageTitle.' - '.Yii::app()->params['seo']['title']; ?></title>
    <?php Yii::app()->clientScript->scriptMap = array('jquery.js'=>false,);?>
    <script src="<?php echo Yii::app()->params['static_file']; ?>/todc-bootstrap/js/bootstrap.min.js"></script>
    <!--[if lt IE 9]>
    <script src="<?php echo Yii::app()->params['static_file']; ?>/ie/html5shiv.js"></script>
    <script src="<?php echo Yii::app()->params['static_file']; ?>/ie/respond.min.js"></script>
    <![endif]-->
</head>

<body>

<div class="container">
    <div class="header">
        <ul class="nav nav-pills pull-right">
            <li class="active"><a href="<?php echo Yii::app()->homeUrl; ?>">Home</a></li>
            <li><a href="#">About</a></li>
            <li><a href="mailto:binarx@gmail.com">Contact</a></li>
        </ul>
        <h3 class="text-muted">ShineTech-TEST</h3>
    </div>
    <div class="alert alert-info">
        Welcome, <b><?php echo Yii::app()->user->name;?></b>
        <?php if(!Yii::app()->user->isGuest): ?>
            <?php echo CHtml::link(' Logout',$this->createUrl('index/logout') );?>
        <?php endif;?>
    </div>

        <?php echo $content; ?>

    <div class="footer">
        <p>&copy; Company 2014</p>
    </div>

</div>

<!--[if lte IE 9]>
<script src="<?php echo Yii::app()->params['static_file']; ?>/ie/jquery.placeholder.js"></script>
<script>
$(document).ready(function(){
$(':input[placeholder]').placeholder();
$('.odd').popover();
});
</script>
<![endif]-->
<script>
    $(document).ready(function(){
        $('.odd,.even').popover();
        $("#modal").on("hidden.bs.modal", function() {
            $(this).removeData("bs.modal");
       	});
    });
</script>
</body>
</html>
